/*
 * @Author: 脉迈
 * @Date: 2021-10-25 17:37:12
 * @LastEditors: 脉迈
 * @LastEditTime: 2021-10-26 11:32:42
 */
import React from "react";
interface textProps {
  text: string;
  style: object;
  link: string;
}

const BlockButton = (props: textProps) => {
  return (
    <>
      <a
        href={props.link}
        style={{
          ...props.style,
          width: "100%",
          height: "100%",
          display: "flex",
          alignItems: "center",
          justifyContent: "center",
        }}
      >
        {props.text}
      </a>
    </>
  );
};

export default BlockButton;
